package com.ruyuan.eshop.data.migrate.tool.model.order;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 订单售后条目表
 * </p>
 *
 * @author zhonghuashishan
 */
@TableName("after_sale_item")
public class AfterSaleItemDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    /**
     * 售后id
     */
    private String afterSaleId;

    /**
     * 订单id
     */
    private String orderId;

    /**
     * sku id
     */
    private String skuCode;

    /**
     * 商品名
     */
    private String productName;

    /**
     * 商品退货数量
     */
    private Integer returnQuantity;

    /**
     * 商品图片地址
     */
    private String productImg;

    /**
     * 商品总金额
     */
    private Integer originAmount;

    /**
     * 申请退款金额
     */
    private Integer applyRefundAmount;

    /**
     * 实际退款金额
     */
    private Integer realRefundAmount;

    /**
     * 条目退货完成标记 10:购买的sku未全部退货 20:购买的sku已全部退货
     */
    private Integer returnCompletionMark;

    /**
     * 售后条目类型 10:售后订单条目 20:尾笔条目退优惠券 30:尾笔条目退运费
     */
    private Integer afterSaleItemType;

    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 更新时间
     */
    private Date gmtModified;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAfterSaleId() {
        return afterSaleId;
    }

    public void setAfterSaleId(String afterSaleId) {
        this.afterSaleId = afterSaleId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getReturnQuantity() {
        return returnQuantity;
    }

    public void setReturnQuantity(Integer returnQuantity) {
        this.returnQuantity = returnQuantity;
    }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg;
    }

    public Integer getOriginAmount() {
        return originAmount;
    }

    public void setOriginAmount(Integer originAmount) {
        this.originAmount = originAmount;
    }

    public Integer getApplyRefundAmount() {
        return applyRefundAmount;
    }

    public void setApplyRefundAmount(Integer applyRefundAmount) {
        this.applyRefundAmount = applyRefundAmount;
    }

    public Integer getRealRefundAmount() {
        return realRefundAmount;
    }

    public void setRealRefundAmount(Integer realRefundAmount) {
        this.realRefundAmount = realRefundAmount;
    }

    public Integer getReturnCompletionMark() {
        return returnCompletionMark;
    }

    public void setReturnCompletionMark(Integer returnCompletionMark) {
        this.returnCompletionMark = returnCompletionMark;
    }

    public Integer getAfterSaleItemType() {
        return afterSaleItemType;
    }

    public void setAfterSaleItemType(Integer afterSaleItemType) {
        this.afterSaleItemType = afterSaleItemType;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        return "AfterSaleItemDO{" +
        "id=" + id +
        ", afterSaleId=" + afterSaleId +
        ", orderId=" + orderId +
        ", skuCode=" + skuCode +
        ", productName=" + productName +
        ", returnQuantity=" + returnQuantity +
        ", productImg=" + productImg +
        ", originAmount=" + originAmount +
        ", applyRefundAmount=" + applyRefundAmount +
        ", realRefundAmount=" + realRefundAmount +
        ", returnCompletionMark=" + returnCompletionMark +
        ", afterSaleItemType=" + afterSaleItemType +
        ", gmtCreate=" + gmtCreate +
        ", gmtModified=" + gmtModified +
        "}";
    }
}
